﻿using KinonekoSoftware.CodariaDB.Documents.Index;

namespace KinonekoSoftware.CodariaDB.Documents.DataParts.Schools
{
    public sealed class Part_SeatInfo : DataPart
    {
        /// <summary>
        /// 最大10行
        /// </summary>
        public int Column { get; set; }

        /// <summary>
        /// 最大10列
        /// </summary>
        public int Row { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string LeftGuardianID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string RightGuardianID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public bool EnableGuardian { get; set; }

        /// <summary>
        /// 座位表
        /// </summary>
        public required List<SeatSlot> Seats { get; init; }
        
        
        public override DataPartType Type => DataPartType.Detail_School_SeatInfo;
    }
}